package olga.gorbatiuk.perdep.dao.daofactory.impl;

import olga.gorbatiuk.perdep.dao.DAOFactory;
import olga.gorbatiuk.perdep.dao.concretedao.CustomerDAO;
import olga.gorbatiuk.perdep.dao.concretedao.DepartmentDAO;
import olga.gorbatiuk.perdep.dao.concretedao.EmployeeDAO;
import olga.gorbatiuk.perdep.dao.concretedao.PositionDAO;
import olga.gorbatiuk.perdep.dao.concretedao.ProjectDAO;
import olga.gorbatiuk.perdep.dao.concretedao.impl.collection.CollectionCustomerDAO;
import olga.gorbatiuk.perdep.dao.concretedao.impl.collection.CollectionDepartmentDAO;
import olga.gorbatiuk.perdep.dao.concretedao.impl.collection.CollectionEmployeeDAO;
import olga.gorbatiuk.perdep.dao.concretedao.impl.collection.CollectionPositionDAO;
import olga.gorbatiuk.perdep.dao.concretedao.impl.collection.CollectionProjectDAO;

/**
 *
 * @author Olga Gorbatiuk
 */
public class CollectionDAOFactory extends DAOFactory {

    public CollectionDAOFactory() {
    }

    @Override
    public CustomerDAO getCustomerDAO() {
        return new CollectionCustomerDAO();
    }

    @Override
    public ProjectDAO getProjectDAO() {
        return new CollectionProjectDAO();
    }

    @Override
    public EmployeeDAO getEmployeeDAO() {
        return new CollectionEmployeeDAO();
    }

    @Override
    public PositionDAO getPositionDAO() {
        return new CollectionPositionDAO();
    }

    @Override
    public DepartmentDAO getDepartmentDAO() {
        return new CollectionDepartmentDAO();
    }

}
